/***************************************************
 @Name :        小铭同学
 @Time :        2025-09-03
 @Email :       LiaoMingWJ233@163.com
 @Comment :     蜂鸣器 控制
 @FileName :    beepdevice.h
 @Version :     1.0
****************************************************/


#ifndef BEEPDEVICE_H
#define BEEPDEVICE_H

#include <QObject>
#include <string>
#include <QDebug>
#include <QWidget>

extern "C"
{
#include "hal_device.h"
}

using namespace std;

class beepdevice : public QObject
{
    Q_OBJECT
public:
    explicit beepdevice(QObject *parent = nullptr);
    
    int beepOn();
    int beepOff();
    int setPwm(int value);
    ~beepdevice();
    
signals:
    
};

#endif // BEEPDEVICE_H
